<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 >图片上传Demo</h1>
<form action="/fileUpload" method="post" enctype="multipart/form-data">
    <p>选择文件: <input type="file" name="fileName"/></p>
    <p><input type="submit" value="提交"/></p>
</form>

<span>${msg}</span><br>

<span>${msg!("文件未上传")}</span><br>

<img src="/show?fileName=${fileName}" style="width: 100px"/>

<img src="/show" style="width: 200px"/>



</body>
</html>